package com.happyfamily.springboot.crowdsourcingplatform.model;


import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
public class SysUser extends BaseEntity<Long>
{
	private static final long serialVersionUID = -6525908145032868837L;
	private Long uid;
	private String uaccount;
	private String uname;
	private String upassword;
	private String uphone;
	private String ustory;
	private String uheadurl;
	private String uscore;
	private String umoney;
	private String uaddress;
	private int pid;
	private int sid;
	private int rid;
	private int newcount;
	private int ubankaccount;
	private String usex;
	private String tips1;
	private String tips2;
	private String tips3;


	public interface Status
	{
		int DISABLED = 3;//删除
		int VALID = 1;//启用
		int LOCKED = 2;//禁用
	}

	public SysUser()
	{
	}


	public SysUser(String uaccount, String upassword)
	{
		this.uaccount = uaccount;
		this.upassword = upassword;
	}
}
